/********************************************************************************
*Class:  AddMonthlyCooperationRecordItemControl
*Method: AddMonthlyCooperationRecordItemControl()
*Useage: Monthly Cooperation Record Items.
*Notice: 
********************************************************************************/

public class AddMonthlyCooperationRecordItemControl
{
    public monthly_cooperation_plan_with_hospital__c planRecord{get;set;}
    public Boolean FhIsCheck{get;set;}   //旗舰医院
    public Boolean SsyIsCheck{get;set;}  // 安婴儿A+轮奶(计划)
    public Boolean DisIsCheck{get;set;}  //海报
    public Boolean DorIsCheck{get;set;}  //轮奶
    public Boolean haveRecord{get;set;}  //存在记录标记
    public String HosString{get;set;}
    
    public AddMonthlyCooperationRecordItemControl(monthly_cooperation_plan_with_hospital__c tem)
    {
        planRecord=tem;
        FhIsCheck = false;
        SsyIsCheck = false;
        DisIsCheck = false;
        haveRecord = false;
        DorIsCheck = false;
        HosString = null;
    }
    
    public AddMonthlyCooperationRecordItemControl()
    {
        planRecord = new monthly_cooperation_plan_with_hospital__c();
        FhIsCheck = false;
        SsyIsCheck = false;
        DisIsCheck = false;
        haveRecord  = false;
        DorIsCheck = false;
        HosString = null;
    }
    static testMethod void testThisItemControl()
    {
        AddMonthlyCooperationRecordItemControl testcase = new AddMonthlyCooperationRecordItemControl();
        monthly_cooperation_plan_with_hospital__c tmp = new monthly_cooperation_plan_with_hospital__c();
        AddMonthlyCooperationRecordItemControl testcasewithval = new AddMonthlyCooperationRecordItemControl(tmp);
        System.assert(testcase.FhIsCheck == false);
        System.assert(testcase.SsyIsCheck == false);
        System.assert(testcase.DisIsCheck == false);
        System.assert(testcase.haveRecord == false);
        System.assert(testcasewithval.FhIsCheck == false);
        System.assert(testcasewithval.SsyIsCheck == false);
        System.assert(testcasewithval.DisIsCheck == false);
        System.assert(testcasewithval.haveRecord == false);
    }
}